//
//  SEGOrderTrackChildModel.h
//  Uhomebk
//
//  Created by mac on 2017/10/9.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "SEGBaseDataModel.h"
@interface SEGOrderTrackChildModel : SEGBaseDataModel

@end

#pragma mark - ================<1.工单轨迹子模型 - 当前处理人>===============
@interface SEGOrderCurrentUser : SEGBaseDataModel
@property (nonatomic, strong) NSString * userId;/**用户id */
@property (nonatomic, strong) NSString * userType;/**用户类型 1.客户 2.员工 3.系统 */
@property (nonatomic, strong) NSString * userName;/**用户名字 */

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;

@property (nonatomic, strong) NSMutableDictionary * mDictionary;

@end

#pragma mark - ================<3.工单轨迹子模型 - 物料信息>===============
@interface SEGOrderMateriels : SEGBaseDataModel
@property (nonatomic, strong) NSString *goodsName;/**名称 */
@property (nonatomic, strong) NSString *goodsBrand;/**品牌 */
@property (nonatomic, strong) NSString *goodsModel;/**类型 */
@property (nonatomic, strong) NSString *price;/**单价 */
@property (nonatomic, strong) NSString *useCount;/**数量 */
@property (nonatomic, strong) NSString *verificationType;/**物料类型 1 普通耗材 2 销售开单 3 保内核销 */

@property (nonatomic, strong) NSMutableDictionary *mDictionary;

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end


#pragma mark - ================<4.工单轨迹子模型 - 有偿服务>===============
@interface SEGOrderPayServices : SEGBaseDataModel
@property (nonatomic, strong) NSString *serviceName;/**服务名称 */
@property (nonatomic, strong) NSString *pirce;/**服务价格 */

@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end

#pragma mark - ================<5.工单轨迹子模型 - 环节加急信息>===============
@interface SEGOrderTaskUrgentInfo : SEGBaseDataModel
@property (nonatomic, strong) NSString *userId;/**用户ID  */
@property (nonatomic, strong) NSString *userName;/**用户名 */
@property (nonatomic, strong) NSString *userType;/**用户类型(2-物管) */
@property (nonatomic, strong) NSString *createTime;/**创建时间 */
@property (nonatomic, strong) NSString *discussion;/**加急信息 */

@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end

#pragma mark - ================<6.工单轨迹子模型 - 环节追记信息>===============
@interface SEGOrderTaskComment : SEGBaseDataModel
@property (nonatomic, strong) NSString *commentId;/**评论id  */
@property (nonatomic, strong) NSString *userId;/**用户ID */
@property (nonatomic, strong) NSString *userName;/**用户名*/
@property (nonatomic, strong) NSString *createTime;/**创建时间 */
@property (nonatomic, strong) NSString *discussion;/**评论信息 */
@property (nonatomic, strong) NSString *parId;/**上一级评论id */


@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end

#pragma mark - ================<7.工单轨迹子模型 - 环节挂起信息>===============
@interface SEGOrderTaskHangInfo : SEGBaseDataModel
@property (nonatomic, strong) NSString *userId;/**挂起申请人 */
@property (nonatomic, strong) NSString *userName;/**挂起申请人 */
@property (nonatomic, strong) NSString *hangtime;/**挂起申请时间*/
@property (nonatomic, strong) NSString *planrelievetime;/**预计解挂时间 */
@property (nonatomic, strong) NSString *hangremark;/**挂起原因 */
@property (nonatomic, strong) NSString *hangStatus;/**挂起结果 */
@property (nonatomic, strong) NSString *factRelieveHang;/**实际解挂时间 */
@property (nonatomic, strong) NSString *reviewAdvise;/**审核意见 */

@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end

#pragma mark - ================<8.工单轨迹子模型 - 环节转单信息>===============
@interface SEGOrderTaskRotateInfo : SEGBaseDataModel
@property (nonatomic, strong) NSString *requserId;/**转单人id */
@property (nonatomic, strong) NSString *requserName;/**转单人名称 */
@property (nonatomic, strong) NSString *createDate;/**转单时间 */
@property (nonatomic, strong) NSString *remark;/**转单意见 */
@property (nonatomic, strong) NSString *taruserId;/**转单目标人id */

@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end


#pragma mark - ================<9.工单轨迹子模型 - 环节督办信息>===============
@interface SEGOrderTaskSupInfo : SEGBaseDataModel
@property (nonatomic, strong) NSString *supuserId;/**督办人id */
@property (nonatomic, strong) NSString *supuserName;/**督办人名称 */
@property (nonatomic, strong) NSString *suptime;/**督办时间 */
@property (nonatomic, strong) NSString *supremark;/**督办意见 */
@property (nonatomic, strong) NSString *supflag;/**督办级别 */
@property (nonatomic, strong) NSString *supretype;/**督办类型 */
@property (nonatomic, strong) NSString *taruserId;/**转单目标人id */
@property (nonatomic, strong) NSString *taruserName;/**转单目标人 */


@property (nonatomic, strong) NSMutableDictionary *mDictionary;
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end

#pragma mark - ================<10.工单轨迹子模型 - 环节所有信息>===============
@interface SEGOrderTasks : SEGBaseDataModel
@property (nonatomic, strong) NSString *handleDate;/**处理时间 */
@property (nonatomic, strong) NSString *taskCode;/**任务编码 */
@property (nonatomic, strong) NSString *taskName;/**任务编码名称 */
@property (nonatomic, strong) SEGOrderTaskSupInfo *supinfo;/**督办信息 */
@property (nonatomic, strong) SEGOrderTaskRotateInfo *rotateinfo;/**转单信息 */
@property (nonatomic, strong) SEGOrderTaskHangInfo *hanginfo;/**挂起信息 */
@property (nonatomic, strong) SEGOrderTaskComment *comment;/**追记信息 */
@property (nonatomic, strong) SEGOrderTaskUrgentInfo *urgentinfo;/**加急信息 */


@property (nonatomic, strong) NSMutableDictionary *mDictionary;

+ (instancetype)initWithDictionary:(NSDictionary*)dictionary;
@end




